package model;

import java.util.ArrayList;

public class LevelPartial
{
	
	private ArrayList<Item> items;
	private double height;
	
	public LevelPartial(double h)
	{
		height = h;
		items = new ArrayList<Item>();
	}
	
	public void add(Item pItem)
	{
		items.add(pItem);
	}
	
	public ArrayList<Item> getItems()
	{
		
		return items;
	}
	
	public Item[] getItemsAsArray()
	{
		return items.toArray(new Item[items.size()]);
	}
	
	public double getHeight()
	{
		return height;
	}
	
}
